package cn.e4j.modular.crm.entity;

import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @ClassName: GwbeT
 * @Author: caijy
 * @Date: 2019-7-2 0002 17:44
 * @Description:TODO
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWBE_T")
public class GwbeT extends PO<GwbeT> {
    private static final long serialVersionUID = 1L;

    @TableId(value = "GWBEENT", type = IdType.INPUT)
    private String GWBEENT;
    private String GWBE001;
    private String GWBE002;
    private String GWBE003;
    private String GWBE004;
    private String GWBE005;
    private String GWBEACTI;
    @TableField(fill = FieldFill.INSERT)
    private String GWBEUSER;
    @TableField(fill = FieldFill.INSERT)
    private String GWBEGRUP;
    @TableField(fill = FieldFill.UPDATE)
    private String GWBEMODU;
    @TableField(fill = FieldFill.INSERT)
    private String GWBETIME;
    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private LocalDate GWBEDATE;
    @TableField(fill = FieldFill.INSERT)
    private String GWBEORIG;
    @TableField(fill = FieldFill.INSERT)
    private String GWBEORIU;


    @Override
    protected Serializable pkVal() {
        return this.GWBEENT;
    }
}
